package com.lavida.project.system.review.mapper;

import java.util.List;

import com.lavida.project.system.emp.domain.Roster;
import com.lavida.project.system.review.domain.Penalty;
import com.lavida.project.system.review.domain.Review;



public interface PenaltyMapper {
	//查询年假
	List<Penalty> selectPenalty(Penalty penalty);
	
	//入职时计算年假
	long addPenalty(Penalty penalty);
	
	long deletePenalty(int id);
	
	Penalty getPenalty(int id);
	
	long updatePenalty(Penalty penalty);
}
